package com.ruif.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil
{

    public static String getCurrentDate(String format)
    {
        SimpleDateFormat sdf = new SimpleDateFormat(format);
        return sdf.format(new Date());
    }

}
